package com.yunxin.core.infra.persistence.entity.product;

import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;
import java.util.Date;

/**
 * 产品投放配置表
 *
 * @author zero°
 * @since   2023-12-07
 */
public class ProductThrowInConfigDO implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 产品id
     */
    private Long productId;

    /**
     * 对接方式 1.自营  2.h5
     */
    private Integer abutmentType;

    /**
     * 跳转链接
     */
    private String jumpUrl;

    /**
     * 发送短信状态 1.是 2.否
     */
    private Integer sendSmsStatus;

    /**
     * 投放平台(,连接)
     */
    private String placementPlatform;

    /**
     * 投放地域类型 1.全国 2.指定城市
     */
    private Integer placementRegionType;

    /**
     * 产品总限量
     */
    private Integer totalLimit;

    /**
     * 产品限日(星期一到星期日,用,号连接)
     */
    private String limitDay;

    /**
     * 投放时段类型 1全天，2区间
     */
    private Integer placementPeriodType;

    /**
     * 权重
     */
    private Integer weight;

    /**
     * 标识删除 0.存在 1.删除
     */
    private Integer isDel;

    /**
     * 创建人
     */
    private String creator;

    /**
     * 修改人
     */
    private String editor;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date editTime;

    /**
     * 版本号
     */
    private Long version;


    /**
     * uv产品是否联登 1.联登 2.不联登
     */
    private Integer isLogin;

    /**
     * uv联登产品个人授权协议
     */
    private String userProtocol;

    private static final long serialVersionUID = 1L;

    public Integer getIsLogin() {
        return isLogin;
    }

    public String getUserProtocolUrl() {
        return userProtocol;
    }

    public void setUserProtocolUrl(String userProtocolUrl) {
        this.userProtocol = userProtocolUrl;
    }

    public void setIsLogin(Integer isLogin) {
        this.isLogin = isLogin;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getAbutmentType() {
        return abutmentType;
    }

    public void setAbutmentType(Integer abutmentType) {
        this.abutmentType = abutmentType;
    }

    public String getJumpUrl() {
        return jumpUrl;
    }

    public void setJumpUrl(String jumpUrl) {
        this.jumpUrl = jumpUrl;
    }

    public Integer getSendSmsStatus() {
        return sendSmsStatus;
    }

    public void setSendSmsStatus(Integer sendSmsStatus) {
        this.sendSmsStatus = sendSmsStatus;
    }

    public String getPlacementPlatform() {
        return placementPlatform;
    }

    public void setPlacementPlatform(String placementPlatform) {
        this.placementPlatform = placementPlatform;
    }

    public Integer getPlacementRegionType() {
        return placementRegionType;
    }

    public void setPlacementRegionType(Integer placementRegionType) {
        this.placementRegionType = placementRegionType;
    }

    public Integer getTotalLimit() {
        return totalLimit;
    }

    public void setTotalLimit(Integer totalLimit) {
        this.totalLimit = totalLimit;
    }

    public String getLimitDay() {
        return limitDay;
    }

    public void setLimitDay(String limitDay) {
        this.limitDay = limitDay;
    }

    public Integer getPlacementPeriodType() {
        return placementPeriodType;
    }

    public void setPlacementPeriodType(Integer placementPeriodType) {
        this.placementPeriodType = placementPeriodType;
    }

    public Integer getWeight() {
        return weight;
    }

    public void setWeight(Integer weight) {
        this.weight = weight;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public String getEditor() {
        return editor;
    }

    public void setEditor(String editor) {
        this.editor = editor;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}